package com.pro.mapper;

import com.pro.pojo.JsUiserAuthority;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author 祖铭泽
 * @Date 2021/12/1/0001
 * @description 权限用户表 dao层
 */
@Repository
public interface JsUiserAuthorityMapper {
    //查询后台用户所拥有的权限
    List<JsUiserAuthority> getUserAuthority(Integer userId);
    //删除后台用户所拥有的权限
    boolean deleteUserAuthority(Integer userId);
    //添加后台用户权限
    boolean addUserAuthority(JsUiserAuthority jsUiserAuthority);

}
